package cn.net.sinodata.system.domain.bo;

import cn.net.sinodata.system.domain.PmConfirmDeadline;
import cn.net.sinodata.common.mybatis.core.domain.BaseEntity;
import cn.net.sinodata.common.core.validate.AddGroup;
import cn.net.sinodata.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 确认截止时间业务对象 pm_confirm_deadline
 *
 * @author yinliangyun
 * @date 2025-10-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = PmConfirmDeadline.class, reverseConvertGenerate = false)
public class PmConfirmDeadlineBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 产品编号
     */
    @NotBlank(message = "产品编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String productCode;

    /**
     * 产品名称
     */
    @NotBlank(message = "产品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String productName;

    /**
     * 确认结果截止时间-基准（1：起息日；2：成交日；3：立即）
     */
    private String benchmark;

    /**
     * 确认速度（1：T+0；2：T+1；3：T+2；4：T+1及以上；5：T+2及以上）
     */
    private String confirmRate;

    /**
     * 确认时间
     */
    private Date confirmTime;

    /**
     * 单笔处理时长
     */
    private String processingTime;

    /**
     * 备注
     */
    private String remarks;

}
